package net.mysoft.budgetsoft.system.pagemodel;

import net.mysoft.framework.base.BaseFlowPageModel;

/**   
 *  
 * @author dagongPGP v1.0 
 * @link <a href=http://www.dagongsoft.net>北京大公信软科技有限公司</a> 
 *  
 * @version $Revision: 1.00  $Date: 2013-07-08 17:28:18 
 */

public class FlowTemplateNode extends BaseFlowPageModel implements java.io.Serializable {

	private String ids;
	private int page;// 当前页
	private int rows;// 每页显示记录数
	private String sort = "ftn_Index";// 排序字段名
	private String order = "ASC";// 按什么排序(asc,desc)
	 
	private String task_ID;
    private String ftn_ID;
    private String ftl_ID;
    private String ftn_Name_cn;
    private String ftn_Name_en;
    private Integer ftn_Type;
    private String ftn_Class;
    private Integer ftn_State;
    private Integer ftn_Index;
    private String ftn_PID;
    private String ftn_IndeptUserCode;
    private String ftn_IndeptComCode;
    private String ftn_IndeptRoleCode;
    private String ftn_Deadline;
    private String ftn_RemindInterval;
    private String ftn_DetractCode;
    private String ftn_TextName;
    private String ftn_FormUrl;
    private Integer ftn_StartupDefault;
    private Integer ftn_XiangMuJD;
    private String renWuJBXXBH;
    private String xiangMuJBXXBH;
    private String ftc_ID;
    private Integer ftn_UserNum;
    private Integer ftn_MustPass;
    private String ftn_ReturnTo;
    
    public String getFtn_Name(){
    	return this.getFtn_Name_cn();
    }
	public Integer getFtn_MustPass() {
		return ftn_MustPass;
	}

	public void setFtn_MustPass(Integer ftn_MustPass) {
		this.ftn_MustPass = ftn_MustPass;
	}

	public String getFtn_ReturnTo() {
		return ftn_ReturnTo;
	}

	public void setFtn_ReturnTo(String ftn_ReturnTo) {
		this.ftn_ReturnTo = ftn_ReturnTo;
	}

	public Integer getFtn_UserNum() {
		return ftn_UserNum;
	}

	public void setFtn_UserNum(Integer ftn_UserNum) {
		this.ftn_UserNum = ftn_UserNum;
	}

	public String getFtc_ID() {
		return ftc_ID;
	}

	public void setFtc_ID(String ftc_ID) {
		this.ftc_ID = ftc_ID;
	}

	public String getXiangMuJBXXBH() {
		return xiangMuJBXXBH;
	}

	public void setXiangMuJBXXBH(String xiangMuJBXXBH) {
		this.xiangMuJBXXBH = xiangMuJBXXBH;
	}

	public Integer getFtn_XiangMuJD() {
		return ftn_XiangMuJD;
	}

	public void setFtn_XiangMuJD(Integer ftn_XiangMuJD) {
		this.ftn_XiangMuJD = ftn_XiangMuJD;
	}

	public String getRenWuJBXXBH() {
		return renWuJBXXBH;
	}

	public void setRenWuJBXXBH(String renWuJBXXBH) {
		this.renWuJBXXBH = renWuJBXXBH;
	}

	public Integer getFtn_StartupDefault() {
		return ftn_StartupDefault;
	}

	public void setFtn_StartupDefault(Integer ftn_StartupDefault) {
		this.ftn_StartupDefault = ftn_StartupDefault;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}
	
	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}
	
    public String getFtn_ID(){
    	return this.ftn_ID;
    }
    
    public void setFtn_ID(String ftn_ID){
    	this.ftn_ID = ftn_ID;
    }
    
    public String getFtl_ID(){
    	return this.ftl_ID;
    }
    
    public void setFtl_ID(String ftl_ID){
    	this.ftl_ID = ftl_ID;
    }
    
    public String getFtn_Name_cn(){
    	return this.ftn_Name_cn;
    }
    
    public void setFtn_Name_cn(String ftn_Name_cn){
    	this.ftn_Name_cn = ftn_Name_cn;
    }
    
    public String getFtn_Name_en(){
    	return this.ftn_Name_en;
    }
    
    public void setFtn_Name_en(String ftn_Name_en){
    	this.ftn_Name_en = ftn_Name_en;
    }
    
    public Integer getFtn_Type(){
    	return this.ftn_Type;
    }
    
    public void setFtn_Type(Integer ftn_Type){
    	this.ftn_Type = ftn_Type;
    }
    
    public String getFtn_Class(){
    	return this.ftn_Class;
    }
    
    public void setFtn_Class(String ftn_Class){
    	this.ftn_Class = ftn_Class;
    }
    
    public Integer getFtn_State(){
    	return this.ftn_State;
    }
    
    public void setFtn_State(Integer ftn_State){
    	this.ftn_State = ftn_State;
    }
    
    public Integer getFtn_Index(){
    	return this.ftn_Index;
    }
    
    public void setFtn_Index(Integer ftn_Index){
    	this.ftn_Index = ftn_Index;
    }
    
    public String getFtn_PID(){
    	return this.ftn_PID;
    }
    
    public void setFtn_PID(String ftn_PID){
    	this.ftn_PID = ftn_PID;
    }
    
    public String getFtn_IndeptUserCode(){
    	return this.ftn_IndeptUserCode;
    }
    
    public void setFtn_IndeptUserCode(String ftn_IndeptUserCode){
    	this.ftn_IndeptUserCode = ftn_IndeptUserCode;
    }
    
    public String getFtn_IndeptComCode(){
    	return this.ftn_IndeptComCode;
    }
    
    public void setFtn_IndeptComCode(String ftn_IndeptComCode){
    	this.ftn_IndeptComCode = ftn_IndeptComCode;
    }
    
    public String getFtn_IndeptRoleCode(){
    	return this.ftn_IndeptRoleCode;
    }
    
    public void setFtn_IndeptRoleCode(String ftn_IndeptRoleCode){
    	this.ftn_IndeptRoleCode = ftn_IndeptRoleCode;
    }
    
    public String getFtn_Deadline(){
    	return this.ftn_Deadline;
    }
    
    public void setFtn_Deadline(String ftn_Deadline){
    	this.ftn_Deadline = ftn_Deadline;
    }
    
    public String getFtn_RemindInterval(){
    	return this.ftn_RemindInterval;
    }
    
    public void setFtn_RemindInterval(String ftn_RemindInterval){
    	this.ftn_RemindInterval = ftn_RemindInterval;
    }
    
    public String getFtn_DetractCode(){
    	return this.ftn_DetractCode;
    }
    
    public void setFtn_DetractCode(String ftn_DetractCode){
    	this.ftn_DetractCode = ftn_DetractCode;
    }
    
    public String getFtn_TextName(){
    	return this.ftn_TextName;
    }
    
    public void setFtn_TextName(String ftn_TextName){
    	this.ftn_TextName = ftn_TextName;
    }
    
    public String getFtn_FormUrl(){
    	return this.ftn_FormUrl;
    }
    
    public void setFtn_FormUrl(String ftn_FormUrl){
    	this.ftn_FormUrl = ftn_FormUrl;
    }
    
	
    @Override
    public int hashCode() {
    	int prime = 0;
        prime +=this.getFtn_ID().hashCode();
        return prime;
    }

    @Override
    public boolean equals(Object obj) {
    	boolean isEquals = false;
    	if(obj!=null&&this.getClass()==obj.getClass()){
    		FlowTemplateNode clazz = (FlowTemplateNode)obj;
            if(clazz.getFtn_ID().equals(this.getFtn_ID()))
            	isEquals = true;
    		return isEquals;
    	}
        return isEquals;
    }

}